layui.use(['table', 'layer'], function () {
    var table = layui.table;
    var layer = layui.layer;
    var laydate = layui.laydate;

    var branchTable = table.render({
        elem: '#cashSearchTable'
        // ,height: 315
        // ,url: baseURL + 'sys/branch/list' //数据接口
        , page: true //开启分页


        , cols: [[ //表头
            {field: 'clientNum', title: '商户编号', sort: true, fixed: 'left'}
            , {field: 'clientName', title: '商户名称', minWidth: '150'}
            , {field: 'applyTool', title: '申领机具', minWidth: '150'}
            , {field: 'depositTotal', title: '押金总额', minWidth: '70'}
            , {field: 'undeposit', title: '未退金额', minWidth: '70'}
            , {field: 'depositStatus', title: '押金状态', minWidth: '90'}
            , {field: 'payTime', title: '缴纳时间', minWidth: '90'}
        ]]

        , data: [{
            "clientNum": "21000092"
            , "clientName": "恒生电子股份有限公司"
            , "applyTool": "扫码枪X1,智能POS机X1，台牌X2…"
            , "depositTotal": "2000"
            , "undeposit": "0"
            , "depositStatus": "已经退还"
            , "payTime": "2017-12-11 09:55"
        },
            {
                "clientNum": "21000092"
                , "clientName": "恒生电子股份有限公司"
                , "applyTool": "扫码枪X1,智能POS机X1，台牌X2…"
                , "depositTotal": "2000"
                , "undeposit": "0"
                , "depositStatus": "已经退还"
                , "payTime": "2017-12-11 09:55"
            }
        ,{
                "clientNum": "21000092"
                , "clientName": "恒生电子股份有限公司"
                , "applyTool": "扫码枪X1,智能POS机X1，台牌X2…"
                , "depositTotal": "2000"
                , "undeposit": "0"
                , "depositStatus": "已经退还"
                , "payTime": "2017-12-11 09:55"
            }
        ,{
                "clientNum": "21000092"
                , "clientName": "恒生电子股份有限公司"
                , "applyTool": "扫码枪X1,智能POS机X1，台牌X2…"
                , "depositTotal": "2000"
                , "undeposit": "0"
                , "depositStatus": "已经退还"
                , "payTime": "2017-12-11 09:55"
            }]

    });







});